#include"HttpProtocol.hpp"


int main()
{
    HttpRequest req;
    std::string s = "GET / HTTP/1.1\r\n";
    s += "Host: 124.71.223.168:8989\r\n";
    s += "Connection: keep-alive\r\n\r\n";
    s += "我是一个正文";

    req.Deserialization(s);
    req.Print();

    // HttpResponse res;
    // res.Build(req);
    // void Print();

   // req.GetContent("wwwroot/404.html");

    // std::string out;
    // res.Serialize(&out);
    // std::cout<<out<<std::endl;

    return 0;
}